Skip to content

fix: disable image caching for Lima (macOS)#25

Merged
ethannortharc merged 1 commit intomainfrom
fix/disable-lima-cache
Mar 11, 2026
Merged

fix: disable image caching for Lima (macOS)#25
ethannortharc merged 1 commit intomainfrom
fix/disable-lima-cache

Conversation

@ethannortharc
Copy link
Copy Markdown
Owner

Summary

  • Removes Lima cached_image()/cache_image() overrides — falls back to trait defaults (no-op)
  • Removes cached disk restore logic from Lima create()
  • Caching remains active for Incus (Linux) where incus publish is fast

Test plan

  • cargo build + cargo test — all 71 tests pass
  • devbox create on macOS — no more "Caching provisioned image..." step

🤖 Generated with Claude Code

The stop/copy-disk/restart cycle adds ~1 minute overhead on macOS,
not worth it for typical single-VM usage. Caching remains active
for Incus (Linux) where `incus publish` is fast and native.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ethannortharc ethannortharc merged commit e41137c into main Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant